<?php
/**
 * Created by PhpStorm.
 * User: Hasee
 * Date: 2020/4/29
 * Time: 9:41
 */
//echo '这里是work.ajax.php';
//var_export($_GET);
var_export($_POST);
$title=$_POST['title'];
$content=$_POST['content'];
$sql="INSERT INTO article(title,content) VALUES ('$title','$content')";
$bool=mysqli_query($mysql,$sql);
if ($bool)
{
    echo 'ok';
}